import request from '@/utils/request'
import {
  PageResultJobInfoVo,
  DeepRequired,
  JobPageQuery,
} from '../../interface'

/**
 * hr获取职位分页
 * /job/hr/more
 */
export function getJobHrMore(params: GetJobHrMoreParams) {
  const paramsInput = {
    ...params.jobPageQuery,
  }
  return request.get<DeepRequired<PageResultJobInfoVo>>(`/job/hr/more`, {
    params: paramsInput,
  })
}

interface GetJobHrMoreParams {
  jobPageQuery: JobPageQuery
}
